<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/lib/cropper/cropper.css">
    <link rel="stylesheet" href="/assets/css/user/avar.css">

    <title>Document</title>
</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">修改头像</div>
        <div class="layui-card-body">
            <div class="htmleaf-container">

                <!-- Content -->
                <div class="container">
                    <div class="row">
                        <div class="col-md-9">
                            <!-- <h3 class="page-header">Demo:</h3> -->
                            <div class="img-container">
                                <img id="avarImage" src="/assets/images/sample.jpg" alt="Picture">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <!-- <h3 class="page-header">Preview:</h3> -->
                            <div class="docs-preview clearfix">
                                <div class="img-preview preview-lg"></div>
                                <p>100*100</p>
                                <div class="img-preview preview-md"></div>
                                <p>50*50</p>
                            </div>

                            <!-- <h3 class="page-header">Data:</h3> -->

                        </div>
                    </div>
                    <div class="upload-button">
                        <input type="file" style="display: none;">
                        <button type="button" class="layui-btn upload">上传</button>
                        <button type="button" class="layui-btn layui-btn-danger confile">确定</button>
                    </div>
                </div>
                <!-- Alert -->

            </div>
        </div>
    </div>
</body>

</html>
<script src="/assets/lib/jquery.js"></script>
<script src="/assets/lib/layui/layui.all.js"></script>
<script src="/assets/lib/cropper/cropper.min.js"></script>
<script src="/assets/js/common.js"></script>
<script src="/assets/js/user/avar.js"></script>